package com.djx.threadstudy.Thread;

/**
 * @ClassName ThreadTest01
 * @Date 2021/7/9 0009 上午 9:09
 * @Author Administrator
 * @Description TODO
 * Version 1.0
 */
public class ThreadTest01 extends Thread{

    @Override
    public void run() {
        for (int i = 0; i < 20; i++) {
            System.out.println(Thread.currentThread().getName()+"__runnable__"+i);
        }
    }

    public static void main(String[] args) {
        ThreadTest01 threadTest01 = new ThreadTest01();
        new Thread(threadTest01,"张三").start();
        new Thread(threadTest01,"李四").start();

    }
}
